-
Home
-
YayPricing – WooCommerce Dynamic Pricing & Discounts
-
2.0
-
Code
-
Classes
- YAYDP_Condition_Helper
Total Complexity |
78 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
367 |
Lines of code |
237 |
Logical lines of code |
172 |
Comment lines |
99 |
Methods |
11 |
Properties |
0 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check_conditions() |
A |
42 |
15 |
52 |
check_cart_item() |
A |
46 |
13 |
37 |
check_shipping_region() |
A |
49 |
12 |
27 |
check_cart_subtotal_price() |
A |
48 |
10 |
33 |
check_cart_quantity() |
A |
50 |
8 |
29 |
check_payment_method() |
S |
58 |
7 |
13 |
check_customer_order_count() |
S |
58 |
4 |
15 |
check_shipping_total() |
S |
62 |
3 |
11 |
check_customer_role() |
S |
62 |
2 |
11 |
check_logged_customer() |
S |
77 |
2 |
3 |
check_specific_customer() |
S |
68 |
2 |
6 |